<!--
~ Copyright 2018-present Open Networking Foundation
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~     http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<div id="mast-top-block"></div>
<!-- The mast-top-block is an inline display element that pushes any
  subsequent elements down the page. It has a height of 48px
     The mast block overlays the mast-top-block. It is is positioned
     absolutely so that the nav component can slide in behind it when
     not shown -->
<div id="mast" align="left">
    <span class="nav-menu-button clickable" (click)="ns.toggleNav()">
        <img src="data/img/nav-menu-mojo.png"/>
    </span>
    <img class="logo" src="data/img/masthead-logo-mojo.png">
    <onos-confirm title="{{ lionFn('ui_ok_to_update') }}" message="{{ confirmMessage }}" warning="{{ strongWarning }}" (chosen)="dOk($event)"></onos-confirm>
    <div id="mast-right">
        <nav>
            <div class="dropdown-parent">
                <a class="clickable user-menu__name">{{ username }} <i class="dropdown-icon"></i></a>
                <div class="dropdown">
                    <a href="rs/logout"> {{ lionFn('logout') }} </a>
                </div>
            </div>
            <div class="ctrl-btns">
                <div class="active clickable icon" (click)="directTo()">
                    <onos-icon iconId="query" iconSize="32" toolTip="{{ lionFn('tt_help') }}"></onos-icon>
                </div>
            </div>
        </nav>

    </div>
</div>
